<template>
    <div class="btn-group">
        <button type="button" @click="showDialog" class="btn btn-primary">新增</button>
        <!-- <button type="button" @click="updataUser" class="btn btn-success">修改</button> -->
        <!-- <button type="button" class="btn btn-danger">删除</button> -->
    </div>
</template>

<script>
export default {
    methods: {
        showDialog() {
            this.$emit('dialog', {
                isOpen: true,
                isAdd: true
            })
        }
    }
}
</script>

<style>

</style>
